<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  	<title><ui:insert name="title">Default title</ui:insert></title>
  	<h:outputStylesheet library="css" name="estilo.css"/>
  	<style type="text/css">
  		#logotipo_{
  			text-align: right;
  			float: right;
  		}
  		/*body {background-color: #eeeeee; font-size: 12px}*/
  		
  		.ui-layout-north {
        	z-index:20 !important;
            overflow:visible !important;;
        }

        .ui-layout-north .ui-layout-unit-content {
        	overflow:visible !important;
        }
  	</style>
  	<!--<h:outputScript library="js" name="jquery-1.8.3.js" target="head"/>
  	<h:outputScript library="js" name="jquery-1.2.6.pack.js" target="head"/>
  	<h:outputScript library="js" name="jquery.maskedinput-1.1.4.pack.js" target="head"/>
  	<ui:insert name="script"></ui:insert>
--></h:head>

<h:body>

<p:layout fullPage="true"> 
	<p:layoutUnit id="top" position="north"   resizable="false" closable="false" collapsible="false"> 
		<div id="titulo">
			<ui:insert name="titulo">Conservare Web</ui:insert>
		</div>
		<div id="logotipo">
			<h:graphicImage library="img" name="logotipo_m.png" />
		</div>
		<div>
		<h:form>
			<p:menubar autoSubmenuDisplay="true">
            	<p:submenu label="Listagem">
                	<p:menuitem value="Usuários" outcome="/admin/usuario.xhtml" />
                    <p:menuitem value="Funcionários" outcome="/restrito/funcionario.xhtml"/>
                </p:submenu>
			</p:menubar>
		</h:form>
		</div>
	</p:layoutUnit> 

	<p:layoutUnit position="center"> 
    	<div id="subtitulo">
				<ui:insert name="subtitulo">Subtitulo</ui:insert>
		</div>
		<ui:insert name="corpo">
			
 		</ui:insert>
	</p:layoutUnit> 
		
	<p:layoutUnit position="south"> 
		<ui:insert name="rodape">
			<ui:include src="/WEB-INF/comuns/rodape.xhtml"/>  
 		</ui:insert>
	</p:layoutUnit> 
</p:layout> 

</h:body>

</html>